﻿#include "DownloadFileFunc.h"

DownloadFileFunc::DownloadFileFunc(QObject *parent) :
    BaseFunc(parent)
{
    m_fileType = 0;
    m_functionCode = FunctionCode;
}
quint8 DownloadFileFunc::fileType() const
{
    return m_fileType;
}

void DownloadFileFunc::setFileType(const quint8 &fileType)
{
    m_fileType = fileType;
}
QString DownloadFileFunc::url() const
{
    return m_url;
}

void DownloadFileFunc::setUrl(const QString &url)
{
    m_url = url;
}
QMap<QString, QString> DownloadFileFunc::paramMap() const
{
    return m_paramMap;
}

void DownloadFileFunc::setParamMap(const QMap<QString, QString> &paramMap)
{
    m_paramMap = paramMap;
}

PortStruct DownloadFileFunc::source() const
{
    return m_source;
}

void DownloadFileFunc::setSource(const PortStruct &source)
{
    m_source = source;
}



